package com.example.mobile2021606170hsy0325;

import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainTitle;
    private EditText editTextTextPersonName;
    private Button btnTextClear;
    private Button btnTextMul;
    private Button btnTestDiv;
    private Button btnTestBack;
    private Button btnTestNum7;
    private Button btnTestNum8;
    private Button button26;
    private Button button27;
    private Button button28;
    private Button button29;
    private Button button30;
    private Button button31;
    private Button button32;
    private Button button33;
    private Button button34;
    private Button button35;
    private Button button39;
    private Button button40;
    private Button button41;
    private Button btnTestNum9;
    private Button btnTestSub;
    private Button btnTestNum4;
    private Button btnTestNum5;
    private Button btnTestNum6;
    private Button btnTestPersert;
    private Button btnTestNum1;
    private Button btnTestNum2;
    private Button btnTestNum3;
    private Button btnTestAdd;
    private Button btnTestNum0;
    private Button btnTestPoin;
    private Button btnTestEr;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();

    }

    private void initView() {
        tvMainTitle = (TextView) findViewById(R.id.tv_main_title);
        editTextTextPersonName = (EditText) findViewById(R.id.editTextTextPersonName);
        btnTextClear = (Button) findViewById(R.id.btn_text_clear);
        btnTextMul = (Button) findViewById(R.id.btn_text_mul);
        btnTestDiv = (Button) findViewById(R.id.btn_test_div);
        btnTestBack = (Button) findViewById(R.id.btn_test_back);
        btnTestNum7 = (Button) findViewById(R.id.btn_test_num7);
        btnTestNum8 = (Button) findViewById(R.id.btn_test_num8);
        button26 = (Button) findViewById(R.id.btn_test_num9);
        button27 = (Button) findViewById(R.id.btn_test_sub);
        button28 = (Button) findViewById(R.id.btn_test_num4);
        button29 = (Button) findViewById(R.id.btn_test_num5);
        button30 = (Button) findViewById(R.id.btn_test_num6);
        button31 = (Button) findViewById(R.id.btn_test_persert);
        button32 = (Button) findViewById(R.id.btn_test_num1);
        button33 = (Button) findViewById(R.id.btn_test_num2);
        button34 = (Button) findViewById(R.id.btn_test_num3);
        button35 = (Button) findViewById(R.id.btn_test_add);
        button39 = (Button) findViewById(R.id.btn_test_num0);
        button40 = (Button) findViewById(R.id.btn_test_poin);
        button41 = (Button) findViewById(R.id.btn_test_er);
        btnTestNum9 = (Button) findViewById(R.id.btn_test_num9);
        btnTestSub = (Button) findViewById(R.id.btn_test_sub);
        btnTestNum4 = (Button) findViewById(R.id.btn_test_num4);
        btnTestNum5 = (Button) findViewById(R.id.btn_test_num5);
        btnTestNum6 = (Button) findViewById(R.id.btn_test_num6);
        btnTestPersert = (Button) findViewById(R.id.btn_test_persert);
        btnTestNum1 = (Button) findViewById(R.id.btn_test_num1);
        btnTestNum2 = (Button) findViewById(R.id.btn_test_num2);
        btnTestNum3 = (Button) findViewById(R.id.btn_test_num3);
        btnTestAdd = (Button) findViewById(R.id.btn_test_add);
        btnTestNum0 = (Button) findViewById(R.id.btn_test_num0);
        btnTestPoin = (Button) findViewById(R.id.btn_test_poin);
        btnTestEr = (Button) findViewById(R.id.btn_test_er);
    }
}